/*
 * Abonent.java
 *
 * Created on February 28, 2007, 6:33 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package ge.info.domain;

import java.io.Serializable;

/**
 * @author Administrator
 */
public class AbonentFound extends MainResult implements Serializable
{

    private String firstName;
    private String lastName;
    private int eprior;
    private int statuse;
    private int bid;
    private Integer hide;
    private Integer state;
    private Phone phone;

    private boolean org;
    
    public AbonentFound()
    {
        super();
        phone = new Phone();
        hide = 0;
        org = false;
    }

    
    public String getFirstName()
    {
        return firstName;
    }
    
    public void setFirstName(String firstName)
    {
        this.firstName = firstName;
    }
    
    public String getLastName()
    {
        return lastName;
    }
    
    public void setLastName(String lastName)
    {
        this.lastName = lastName;
    }


     public int getStatuse()
    {
        return statuse;
    }

    /**
     * @param statuse the statuse to set
     */
    public void setStatuse(int statuse)
    {
        this.statuse = statuse;
    }

     public int getBid()
    {
        return bid;
    }

    /**
     * @param statuse the statuse to set
     */
    public void setBid(int bid)
    {
        this.bid = bid;
    }

     public int getEprior()
    {
        return eprior;
    }

    /**
     * @param statuse the statuse to set
     */
    public void setEprior(int eprior)
    {
        this.eprior = eprior;
    }

    
    public Phone getPhone()
    {
        return phone;
    }
    
    public void setPhone(Phone phone)
    {
        if (phone != null)
        {
            this.phone = phone;
        }
        else
        {
            this.phone = new Phone();
        }
    }
    

    public Integer getHide()
    {
        return hide;
    }
    
    public void setHide(Integer hide)
    {
        this.hide = hide;
        if (hide == null)
            this.hide = 0;
    }

    public Integer getState()
    {
        return state;
    }

    public void setState(Integer state)
    {
        this.state = state;
        if (state == null)
            this.state = 1;
    }

    public boolean isOrg()
    {
        return org;
    }

    public void setOrg(boolean org)
    {
        this.org = org;
    }
    
}
